from datetime import datetime
def datetime_toString_long(dt):
    return dt.strftime("%Y-%m-%d")


def datetime_toString_short(dt):
    return dt.strftime("%Y-%m-%d %H:%M:%S")


def datetime_toString_time(dt):
    return dt.strftime("%H:%M:%S")


def is_same_day(dt1, dt2):
    return dt1.strftime("%Y-%m-%d") == dt2.strftime("%Y-%m-%d")


def is_more_than(dt):
    # d_time = datetime.strptime(str(datetime.datetime.now().date()) + '12:00', '%Y-%m-%d%H:%M')
    print(dt > datetime.now())
    if dt > datetime.now():
        print(dt > datetime.now())

if __name__ == '__main__':
    d_time = datetime.strptime('2019-5-17 12:00', '%Y-%m-%d %H:%M')
    is_more_than(d_time)